GenerativeComponents Help

Cos

Returns the cosine of the given angle.

double Cos(double angle)

The angle is presumed to be measured in degrees. If you have the angle in radians, use Cos(Degrees(angle)).